Returns as an Integer the number of menuitems. For a menu item, it returns the number of submenu items, if any.
Syntax |
|---|
|
result = MenuItem.Count( ) |
Return Value |
|
|---|---|
|
Result |
|
Notes
If there are no submenu items, it returns zero.
MenuItem.Count Function